package router

import (
	"github.com/gin-gonic/gin"
	"weekly-exam-3/internal/api/user"
)

func UserRouter(router *gin.RouterGroup) {
	userModel := router.Group("user")
	{
		userModel.POST("sendSms", user.SendSms)
		userModel.POST("login", user.Login)
		userModel.POST("add", user.Add)
	}
}
